package com.uairobot.bill.yz.office.agent.entity;


import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "upload_file")
public class UploadFile {

  @Id
  private String md5;
  private String uri;
  private String filename;
  private Integer size;
  private Date uploadTime;
  private String type;

  @Transient
  private byte[] bytes;
}
